package com.zenithsun.news.newscolumns.service;

import java.util.List;

import com.syzg.common.service.BaseService;
import com.zenithsun.news.newscolumns.model.NewsColumns;
import com.zenithsun.common.bean.TreeItem;

public interface NewsColumnsService extends BaseService<NewsColumns> {

	/**
	 * 获取树形结构的栏目数据
	 * @author wanglei@enersun.com.cn
	 * @return List<TreeItem>
	 * @throws Exception
	 */
	public List<TreeItem> getTreeNewsColumns() throws Exception;
	
	/**
	 * 获取第一层栏目数据
	 * @author wanglei@enersun.com.cn
	 * @return List<TreeItem>
	 * @throws Exception
	 */
	public List<TreeItem> getFirstFloorNewsColumns() throws Exception;
	
}
